package com.cyandpos.pad.posdata;

/**
 * Created by Administrator on 2020/1/2.
 */

public class CodedCouponItem {
    private String couponCode;
    private String amount;//元为单位
    private String payCode;
    private int payType;


    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getPayCode() {
        return payCode;
    }

    public void setPayCode(String payCode) {
        this.payCode = payCode;
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"couponCode\":\"")
                .append(couponCode).append('\"');
        sb.append(",\"amount\":\"")
                .append(amount).append('\"');
        sb.append(",\"payCode\":\"")
                .append(payCode).append('\"');
        sb.append(",\"payType\":")
                .append(payType);
        sb.append('}');
        return sb.toString();
    }
}
